/**
 * Created by leiweibo on 4/3/15.
 */
var express = require('express');
var morgan = require('morgan');
var path = require('path');
var app = express();

app.use(morgan("dev"));
app.use(express.static(path.join(__dirname, './bower_components')));
app.use(express.static(path.join(__dirname, "./app")));

var port = 3001;

//start server
app.listen(port, function () {
  console.log( "Express server listening on port " + port);
});
